package com.lixiaofeng.paintstudy;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

import tyrantgit.explosionfield.ExplosionField;

public class MainActivity extends AppCompatActivity {

    private CustomView paint;
    private ExplosionField field;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

//        CustomView customView=new CustomView(this);
        //paint= (CustomView) findViewById(R.id.paint_main);

//        paint.setOnClickListener(new View.OnClickListener() {
//            @Override
//            public void onClick(View v) {
//                field=ExplosionField.attach2Window(MainActivity.this);
//                field.explode(v);
//
//            }
//        });
    }
}
